package com.lnsf.bookstore.system.vipuser.vo;

import com.lnsf.bookstore.system.address.vo.Address;
import com.lnsf.bookstore.system.role.vo.Role;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class VipUser implements Serializable {

    /**
     *
     */
    private Integer id;

    /**
     *
     */
    private String username;

    /**
     *
     */
    private String password;

    /**
     *
     */
    private Integer gender;

    /**
     *
     */
    private Date birthday;

    /**
     * 信用值
     */
    private Integer credit;

    /**
     * 积分
     */
    private Integer integral;

    /**
     *
     */
    private Date registerTime;

    /**
     *
     */
    private Date lastLoginTime;

    /**
     *
     */
    private String lastLoginIp;

    /**
     *
     */
    private Byte userLevelId;

    /**
     *
     */
    private String nickname;

    /**
     *
     */
    private String mobile;

    /**
     *
     */
    private String registerIp;

    /**
     *
     */
    private String avatar;

    /**
     *
     */
    private String weixinOpenid;

    /**
     *
     */
    private Integer money;


    private List<Address> addressList;

    /**
     * weixin_user
     */
    private static final long serialVersionUID = 1L;

    /**
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     *
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     *
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     *
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     *
     * @return gender
     */
    public Integer getGender() {
        return gender;
    }

    /**
     *
     * @param gender
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     *
     * @return birthday
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     *
     * @param birthday
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 信用值
     * @return credit 信用值
     */
    public Integer getCredit() {
        return credit;
    }

    /**
     * 信用值
     * @param credit 信用值
     */
    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    /**
     * 积分
     * @return integral 积分
     */
    public Integer getIntegral() {
        return integral;
    }

    /**
     * 积分
     * @param integral 积分
     */
    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    /**
     *
     * @return registerTime
     */
    public Date getRegisterTime() {
        return registerTime;
    }

    /**
     *
     * @param registerTime
     */
    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    /**
     *
     * @return lastLogin
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     *
     * @param lastLoginTime
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     *
     * @return lastLogin
     */
    public String getLastLoginIp() {
        return lastLoginIp;
    }

    /**
     *
     * @param lastLoginIp
     */
    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    /**
     *
     * @return userLevel
     */
    public Byte getUserLevelId() {
        return userLevelId;
    }

    /**
     *
     * @param userLevelId
     */
    public void setUserLevelId(Byte userLevelId) {
        this.userLevelId = userLevelId;
    }

    /**
     *
     * @return nickname
     */
    public String getNickname() {
        return nickname;
    }

    /**
     *
     * @param nickname
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     *
     * @return mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     *
     * @param mobile
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     *
     * @return registerIp
     */
    public String getRegisterIp() {
        return registerIp;
    }

    /**
     *
     * @param registerIp
     */
    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }

    /**
     *
     * @return avatar
     */
    public String getAvatar() {
        return avatar;
    }

    /**
     *
     * @param avatar
     */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     *
     * @return weixinOpenid
     */
    public String getWeixinOpenid() {
        return weixinOpenid;
    }

    /**
     *
     * @param weixinOpenid
     */
    public void setWeixinOpenid(String weixinOpenid) {
        this.weixinOpenid = weixinOpenid;
    }

    /**
     *
     * @return money
     */
    public Integer getMoney() {
        return money;
    }

    /**
     *
     * @param money
     */
    public void setMoney(Integer money) {
        this.money = money;
    }

    public List<Address> getAddressList() {
        return addressList;
    }

    public void setAddressList(List<Address> addressList) {
        this.addressList = addressList;
    }
}